package com.ruoyi.dataSys.domain;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * AIS信息管理对象 ais_data
 *
 * @author ruoyi
 * @date 2024-11-28
 */
public class AisData implements Serializable {
    private static final long serialVersionUID = 1L;

    /** id */
    @Excel(name = "id")
    private Long id;

    /** 船名 */
    @Excel(name = "船名")
    private String NAME;

    /** 呼号 */
    @Excel(name = "呼号")
    private String CALLSIGN;

    /** MMSI号 */
    @Excel(name = "MMSI号")
    private String MMSI;

    /** 船舶ID */
    @Excel(name = "船舶ID")
    private String shipId;

    /** 纬度 */
    @Excel(name = "纬度")
    private String LAT;

    /** 经度 */
    @Excel(name = "经度")
    private String LON;

    /** 长度 */
    @Excel(name = "长度")
    private String LENGTH;

    /** 宽度 */
    @Excel(name = "宽度")
    private String WIDTH;

    /** 吃水深度 */
    @Excel(name = "吃水深度")
    private String DRAUGHT;

    /** 目的地 */
    @Excel(name = "目的地")
    private String DEST;

    /** 船首向 */
    @Excel(name = "船首向")
    private String HDG;

    /** 航迹向 */
    @Excel(name = "航迹向")
    private String COG;

    /** 航速 */
    @Excel(name = "航速")
    private String SOG;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date LASTTIME;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setNAME(String NAME)
    {
        this.NAME = NAME;
    }

    public String getNAME()
    {
        return NAME;
    }
    public void setCALLSIGN(String CALLSIGN)
    {
        this.CALLSIGN = CALLSIGN;
    }

    public String getCALLSIGN()
    {
        return CALLSIGN;
    }
    public void setMMSI(String MMSI)
    {
        this.MMSI = MMSI;
    }

    public String getMMSI()
    {
        return MMSI;
    }
    public void setShipId(String shipId)
    {
        this.shipId = shipId;
    }

    public String getShipId()
    {
        return shipId;
    }
    public void setLAT(String LAT)
    {
        this.LAT = LAT;
    }

    public String getLAT()
    {
        return LAT;
    }
    public void setLON(String LON)
    {
        this.LON = LON;
    }

    public String getLON()
    {
        return LON;
    }
    public void setLENGTH(String LENGTH)
    {
        this.LENGTH = LENGTH;
    }

    public String getLENGTH()
    {
        return LENGTH;
    }
    public void setWIDTH(String WIDTH)
    {
        this.WIDTH = WIDTH;
    }

    public String getWIDTH()
    {
        return WIDTH;
    }
    public void setDRAUGHT(String DRAUGHT)
    {
        this.DRAUGHT = DRAUGHT;
    }

    public String getDRAUGHT()
    {
        return DRAUGHT;
    }
    public void setDEST(String DEST)
    {
        this.DEST = DEST;
    }

    public String getDEST()
    {
        return DEST;
    }
    public void setHDG(String HDG)
    {
        this.HDG = HDG;
    }

    public String getHDG()
    {
        return HDG;
    }
    public void setCOG(String COG)
    {
        this.COG = COG;
    }

    public String getCOG()
    {
        return COG;
    }
    public void setSOG(String SOG)
    {
        this.SOG = SOG;
    }

    public String getSOG()
    {
        return SOG;
    }
    public void setLASTTIME(Date LASTTIME)
    {
        this.LASTTIME = LASTTIME;
    }

    public Date getLASTTIME()
    {
        return LASTTIME;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("NAME", getNAME())
            .append("CALLSIGN", getCALLSIGN())
            .append("MMSI", getMMSI())
            .append("shipId", getShipId())
            .append("LAT", getLAT())
            .append("LON", getLON())
            .append("LENGTH", getLENGTH())
            .append("WIDTH", getWIDTH())
            .append("DRAUGHT", getDRAUGHT())
            .append("DEST", getDEST())
            .append("HDG", getHDG())
            .append("COG", getCOG())
            .append("SOG", getSOG())
            .append("LASTTIME", getLASTTIME())
            .toString();
    }
}
